package com.medic.entity;

//咨询 
public class Topic {
	
	
	private int id;
	//咨询标题	
	private String title;
	//咨询内容
	private String content;
	//咨询时间
	private String ctime;
	//所属用户
	private int userid;
	//所属用户名字
	private String username;
	
	//用于标识用户是否有新的追问 
	private int addtional;

	//该标题所属的分组
	private int groupid;
	 
	//用户未阅条数
	private int noreadcount;
	
	private long sort=System.currentTimeMillis();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setCtime(String ctime) {
		this.ctime = ctime;
	}
	
	public String getCtime() {
		return ctime;
	}
	public void setNoReadCount(int noreadcount) {
		this.noreadcount = noreadcount;
	}

	public void setAddtional(int addtional) {
		this.addtional = addtional;
	}
	public int getAddtional() {
		return addtional;
	}
	public int getnoreadcount() {
		return noreadcount;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	
	
	public int getGroupid() {
		return groupid;
	}
	public void setGroupid(int groupid) {
		this.groupid = groupid;
	}
	public long getSort() {
		return sort;
	}
	public void setSort(long sort) {
		this.sort = sort;
		
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	
}
